<button nz-button nzType="primary" (click)="create()">创建</button>
<nz-divider></nz-divider>
<nz-table #basicTable [nzData]="(userList$|async)||[]">
  <thead>
  <tr>
    <th>邮箱</th>
    <th>昵称</th>
    <th>操作</th>
  </tr>
  </thead>
  <tbody>
  <tr *ngFor="let data of basicTable.data">
    <td>{{ data.email }}</td>
    <td>{{ data.nickname }}</td>
    <td>
      <button (click)="edit(data)" nz-button nzType="primary" nzSize="small">编辑</button>
      <nz-divider nzType="vertical"></nz-divider>
      <button (click)="delete(data)" nz-button nzType="primary" nzSize="small" nzDanger>删除</button>
    </td>
  </tr>
  </tbody>
</nz-table>
